local Class = require('lua.lang.Class')
local AstNode = require('lua.parser.ast.AstNode')

--- @class Statement : AstNode
--- @field scope Scope
local Statement = Class {
	__extends = AstNode
}

--- @param name string
--- @param scope Scope
--- @return Statement
function Statement:new(name, scope)
	--- @type Statement
	local o = {}
	o.nodeName = name
	o.scope = scope
	return setmetatable(o, Statement)
end

return Statement